import request from '../../utils/request'

export function tableData<T>(data: unknown) {
  return request<List<T>>({
    url: '/feed/back/page',
    method: 'POST',
    data
  })
}

export function info<T>(id: string) {
  return request<T>({
    url: '/feed/back/' + id,
    method: 'GET'
  })
}

export function memorandumInfoNew<T>(memorandumId: string) {
  return request<T>({
    url: '/red/black/memorandumInfoNew/' + memorandumId,
    method: 'GET'
  })
}
